<template>
  <div style="border:1px soild red ">
    <slot name="wei" />
    <h3>子组件</h3>
    <h3>倩倩</h3>
    <slot name="zz" />
    <button @click="fn">子组件按钮</button>
    <slot :node="node" :data="data" />
    <slot name="qian" bbb="测试" aaa="1111" />

  </div>
</template>
<script>

export default {
  props: {
    // bbb: {
    //   type: Number,
    //   required: true
    // }
  },
  data() {
    return {
      node: { age: 123 },
      data: 444
    }
  },
  methods: {
    fn() {
      this.$emit('click')
    }
  }
}
</script>

